Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not remove return type from recursive functions when converting to expression body #905

Merged
merged 4 commits into from
Jun 3, 2021

Conversation

petertrr
Copy link
Member

@petertrr petertrr commented Jun 2, 2021

What's done:

  • Changed logic
  • Added test

Which rule and warnings did you add?

This pull request closes #903

… expression body

### What's done:
* Changed logic
* Added test
… expression body

### What's done:
* Changed logic
* Added test
… expression body

### What's done:
* Changed logic
* Added test
@codecov
Copy link

codecov bot commented Jun 2, 2021

Codecov Report

Merging #905 (cd20aed) into master (4daab8c) will decrease coverage by 0.04%.
The diff coverage is 60.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #905      +/-   ##
============================================
- Coverage     84.20%   84.16%   -0.05%     
  Complexity     2352     2352              
============================================
  Files           101      101              
  Lines          5977     5986       +9     
  Branches       1756     1762       +6     
============================================
+ Hits           5033     5038       +5     
  Misses          257      257              
- Partials        687      691       +4     
Flag Coverage Δ
unittests 84.16% <60.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...iktat/ruleset/rules/chapter3/files/NewlinesRule.kt 78.35% <60.00%> (-0.73%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4daab8c...cd20aed. Read the comment docs.

… expression body

### What's done:
* Changed logic
* Added test
Copy link
Member

@kgevorkyan kgevorkyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@petertrr petertrr merged commit 2201861 into master Jun 3, 2021
@petertrr petertrr deleted the bugfix/expression-body#903 branch June 3, 2021 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WRONG_NEWLINES autofix is breaking the code
2 participants